<!--
 * @Author: your name
 * @Date: 2021-03-22 17:00:37
 * @LastEditTime: 2021-03-22 17:00:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \实训一\training-group-5-warehouse\danshang-admin\src\views\chip\addChip.vue
-->
<template lang="">
  <div>
    <el-steps :active="active" finish-status="success">
  <el-step title="商品信息"></el-step>
  <el-step title="商品详情"></el-step>
  <el-step title="其他设置"></el-step>
  <el-step title="规格设置"></el-step>
</el-steps>

<el-button style="margin-top: 12px;" @click="next"  >下一步</el-button>
<el-button style="margin-top: 12px;" @click="last">上一步</el-button>
  </div>
</template>
<script>
import Tinymce from "@/components/Tinymce";

export default {
  components: {
    Tinymce,
  },
  data() {
    return {
      content: "welcome to tinymce!",
    };
  },
  data() {
    return {
      active: 0,
    };
  },

  methods: {
    next() {
      if (this.active++ > 1) this.active = 0;
      this.$router.push("/shop/details");
    },
    last() {
      if (this.active-- < 1) this.active = 0;
    },
  },
};
</script>

